#include "GraphNode.h"

GraphNode::GraphNode(Vec3f& pos, int id)
{
	m_Pos = pos;
	m_Id = id;
}

void GraphNode::SetPos(Vec3f& NewPos)
{
	m_Pos = NewPos;
}

Vec3f& GraphNode::ReturnPos()
{
	return m_Pos;	
}

void GraphNode::SetId(int NewId)
{
	m_Id = NewId;
}

int GraphNode::ReturnId()
{
	return m_Id;
}

bool GraphNode::operator==(GraphNode g)
{
	return m_Id == g.ReturnId();
}